package com.oceansoft.mobile.biz.front.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class AppPlugins extends AppPlugins_api{

	private String page;
	private int pagesize;
	private int state;
	public AppPlugins()
	{
		super();
	}

	public static RowMapper<AppPlugins> getFullNewsMapper() {
		return new RowMapper<AppPlugins>() {
			@Override
			public AppPlugins mapRow(ResultSet rs, int index) throws SQLException {
				AppPlugins obj = new AppPlugins();
				obj.setId(rs.getInt("ID"));
				obj.setTitle(rs.getString("TITLE"));
				obj.setIcon(rs.getString("ICON"));
				obj.setUrl(rs.getString("URL"));
				obj.setDescription(rs.getString("description"));
				obj.setAppType(rs.getInt("APPTYPE"));
				obj.setStartPage(rs.getString("startpage"));
				obj.setPage(rs.getString("page"));
				obj.setPagesize(rs.getInt("PAGESIZE"));
				obj.setCate(rs.getInt("CATE"));
				obj.setOrderNum(rs.getInt("ORDERNUM"));
				obj.setState(rs.getInt("STATE"));
				obj.setIsh5(rs.getInt("ish5"));
				return obj;
			}
		};
	}
	public String getPage() {
		return page;
	}
	public void setPage(String page) {
		this.page = page;
	}

	public int getPagesize() {
		return pagesize;
	}

	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
	
	
}
